package labox.innovation.gameserver.model.actor.instance;

import labox.innovation.gameserver.model.L2Skill;
import labox.innovation.gameserver.model.actor.L2Character;
import labox.innovation.gameserver.templates.chars.NpcTemplate;

public class L2SiegeSummonInstance extends L2SummonInstance {
	public static final int SIEGE_GOLEM_ID = 14737;

	public static final int HOG_CANNON_ID = 14768;

	public static final int SWOOP_CANNON_ID = 14839;

	public L2SiegeSummonInstance(int objectId, NpcTemplate template, FuzePcInstance owner, L2Skill skill) {
		super(objectId, template, owner, skill);
	}

	@Override
	public void onSpawn() {
		super.onSpawn();
		if (!getOwner().isGM() && !this.isInsideZone(L2Character.ZONE_SIEGE)) {
			unSummon(getOwner());
			getOwner().sendMessage("Summon was unsummoned because it exited siege zone");
		}
	}
}
